package com.gamebase.net.rpc
{
	import flash.utils.Dictionary;

	public class SessionHoler
	{
		public function SessionHoler()
		{
			
		}
		private static var d:Dictionary = new Dictionary();
		private static var session:Session;
		public static function setConnection(value:Session,id:String="default"):void
		{	
			d[id] = value;
		}
		public static function getConnection(id:String="default"):Session
		{
			return d[id] as Session;
		}
		public static function destoryConnection(id:String):void
		{
			
		}
	}
}